Read or write FSE formatted weather data
readFSEwth(f)
writeFSEwth(w, country='AAA', station=1, lon=0, lat=0, elev=0, path=".")example_weather()
readFSEwth
: data.frame
writeFSEwth
: character (invisibly) with the filenames
character. filename
data.frame with daily weather data. Must include the following variables: "date", "srad", "tmin", "tmax", "wind", "prec", "vapr". The data must be sorted by date in ascending order. "date" must be a Date
, the other variables must be numeric
character code for a country (up to three letters)
positive integer. Station number for the country
numeric. Longitude of the weather station (not used by the models)
numeric. Latitude of the weather station
numeric. Elevation of the weather station
character. Folder where you want to write the files. It must exist